@echo off

set "folderName=release"

rmdir /s /q %folderName%

set GOOS=windows
set GOARCH=amd64
go build -x -o %folderName%/fs_client.exe ./client/
go build -x -o %folderName%/fs_server.exe ./server/

set GOOS=linux
set GOARCH=amd64
go build -x -o %folderName%/fs_server ./server/